from abc import ABC, abstractmethod
from typing import List, Optional
from src.domain.emailqa import EmailQA


class EmailQARepository(ABC):
    @abstractmethod
    def find_by_ids(self, ids: List[int]) -> List[EmailQA]:
        pass
    
    @abstractmethod
    def get_by_id(self, id: int) -> Optional[EmailQA]:
        pass
    
    @abstractmethod
    def create(self, email_qa: EmailQA) -> int:
        pass